<?php

namespace App\Http\Middleware;

use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;

class VerifyCsrfToken extends Middleware
{
    /**
     * The URIs that should be excluded from CSRF verification.
     *
     * @var array
     */
    protected $except = [

        '/api/miniapp/ticket/add',
        '/api/miniapp/wechat/login',
        '/api/miniapp/wechat/login_by_code',
        '/api/miniapp/wechat/pay',
        '/api/miniapp/wechat/pay_notify',
        '/api/miniapp/wechat/sendSms',
        '/api/miniapp/wechat/register',
        '/api/miniapp/wechat/merchant_divide',
        '/api/miniapp/cart/add',
        '/api/miniapp/cart/remove',
        '/api/miniapp/order/add',
        '/api/miniapp/order/remove',
        '/api/miniapp/order/confirm',
        '/api/miniapp/delivery/add',
        '/api/miniapp/delivery/update',
        '/api/miniapp/delivery/info',
        '/api/miniapp/delivery/remove',
        '/api/miniapp/delivery/default',
        '/api/miniapp/feedback/post',
        '/api/miniapp/ticket/list',
        '/api/miniapp/upload/upload_picture',
        '/api/miniapp/message/message_order',
        '/api/miniapp/ticket/coupon_custom_list',
        '/api/miniapp/banner/main_banner',
        '/api/miniapp/banner/banner_list',
        '/api/miniapp/erweima/get_be_shared',
    ];
}
